﻿//
// Created: 2018/9/27
// Author: chenqiang
//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xproject.Framework.Core;
using System.ComponentModel.DataAnnotations.Schema;

namespace Model.WXshopBuiness
{
    /// <summary>
    /// 砍价活动参与表
    /// </summary>
    public class  PromotionsKanJiaDetail:IEntity
    {
    
       ///<summary>
       ///
       ///<summary>
       public string ID  { get; set; } 
       ///<summary>
       ///砍价ID
       ///<summary>
       public string KanJiaID  { get; set; } 
       ///<summary>
       ///参与用户
       ///<summary>
       public string UserID  { get; set; } 
       ///<summary>
       ///参与时间
       ///<summary>
       public DateTime CreateTime  { get; set; } 
       ///<summary>
       ///帮砍价的钱
       ///<summary>
       public decimal KanJiaMoney  { get; set; } 
       ///<summary>
       ///用户名
       ///<summary>
       public string UserName  { get; set; } 
         
    
       [NotMapped]
        public long Id { get; set; }

        [NotMapped]
        public EntityState EntityState { get; set; }

        public int CompareTo(object obj)
        {
            throw new NotImplementedException();
        }
    }
}